package routers

import (
	"GuidingSystem/controller"
	"GuidingSystem/middlewares"
	"github.com/gin-gonic/gin"
)

type comment struct {
}

func (comment) Init(router *gin.RouterGroup) {
	r := router.Group("comment").Use(middlewares.MustUser())
	{
		r.POST("create", controller.Apis.Comment.CreateComment)
		r.POST("list", controller.Apis.Comment.GetCommentsByCemeteryID)
	}
}
